package org.wendu.wdoa.security.model;



import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Employee {

    private String e_id;
    private Integer d_id;//部门编号
    private Integer e_sex;
    private String e_name;
    private Date e_birth;

    private String d_name;

    public String getE_id() {
        return e_id;
    }

    public void setE_id(String e_id) {
        this.e_id = e_id;
    }

    public Integer getD_id() {
        return d_id;
    }

    public void setD_id(Integer d_id) {
        this.d_id = d_id;
    }

    public Integer getE_sex() {
        return e_sex;
    }

    public void setE_sex(Integer e_sex) {
        this.e_sex = e_sex;
    }

    public String getE_name() {
        return e_name;
    }

    public void setE_name(String e_name) {
        this.e_name = e_name;
    }

    //声明生成json的时间格式和时区
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public Date getE_birth() {
        return e_birth;
    }

    public void setE_birth(Date e_birth) {
        this.e_birth = e_birth;
    }

    public String getD_name() {
        return d_name;
    }

    public void setD_name(String d_name) {
        this.d_name = d_name;
    }
}
